/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package api;


import cz.muni.restinterface.CustomerDTO;
import org.codehaus.jackson.JsonNode;

/**
 *
 * @author osiris
 */
public interface RestClientCustomerInterface {
    
   
    public void create(CustomerDTO customer);
    public void delete(String id);
    public void update(CustomerDTO customer);
    
    public void findall();
    public JsonNode findById(String id);
    public JsonNode findByFirstName(String firstName);
    public JsonNode findByLastName(String LastName);
    public JsonNode findByEmail(String email);
    public JsonNode findByPhoneNumber(String phoneNumber);
    
    
    
    

}
